<extend name="Layout/base" />

<block name='title'>-{$category.title}</block>

<block name="main">
    <div class="section section-about">
            <div class="container">
                    <div class="box box-tab" id="about">
                            <div class="box-header">
                                    <ul class="nav-tab">
                                            <a href="#"  class="active">公司介绍</a>
                                            <a href="#">合作伙伴</a>
                                            <a href="#">公示信息</a>
                                            <a href="#">联系方式</a>
                                    </ul>
                            </div>
                            <div class="box-body">
                                    <div class="swiper-container swiper-tab">
                                            <div class="swiper-wrapper">
                                                    <div class="swiper-slide first-child">
                                                            <div class="content-tab">
                                                                    <div class="about_us">
                                                                        <think:article cate_name='company' result='res'>
                                                                            <h3 class="header-title">{$res.title}</h3>
                                                                            <div class="paragraph mb50">
                                                                                {$res.content}
                                                                            </div>
                                                                        </think:article>
                                                                    </div>
                                                            </div>
                                                    </div>
                                                    <div class="swiper-slide">
                                                            <div class="content-tab">
                                                                    <div class="about_partner mt30">
                                                                            <ul class="row list-object">
                                                                                    <think:article cate_name='partner' result='res' order="level desc">
                                                                                        <li class="col-3 list-item" title='{$res.title}'>
                                                                                            <a href="{$res.url}"  <?php if($res['url']&&$res['url']!='#'):?>target="_blank"<?php endif;?>>
                                                                                                <div class="object"><?php echo getCover($res['cover_id'],232,85);?></div>
                                                                                            </a>
                                                                                        </li>
                                                                                    </think:article>
                                                                            </ul>
                                                                    </div>
                                                            </div>
                                                    </div>
                                                    <div class="swiper-slide">
                                                            <div class="content-tab">
                                                                    <div class="about_notice mt30">
                                                                            <div class="block-justify">
                                                                                <think:article cate_name='notice' result='res'>
                                                                                    <dl class="justify-item">
                                                                                            <dt>{$res.title}</dt>
                                                                                            <dd><?php echo getCover($res['cover_id'],201,47);?></dd>
                                                                                    </dl>&nbsp;
                                                                                </think:article>
                                                                            </div>
                                                                    </div>

                                                            </div>
                                                    </div>
                                                    <!--联系我们-->
                                                    <div class="swiper-slide">
                                                            <div class="content-tab">
                                                                    <div class="about_map">
                                                                            <!--<img src="../../Public/yitou2016/images/about/map.png">-->
                                                                            <div id="widget_map" style="width: 100%; height:500px;"></div>
                                                                            <script>
                                                                                        var contactInfo={};
                                                                                        <think:article cate_name="contact" name="contact" limit="1" field="company,address,tel,email,www" result="res">
                                                                                        contactInfo={:json_encode($res)};
                                                                                        </think:article>
                                                                                        KC.createMap(contactInfo,'widget_map','257ef5f7d0a02b5f8ac799260872103e');
                                                                            </script>
                                                                    </div>
                                                            </div>
                                                    </div>
                                            </div>
                                    </div>

                            </div>
                    </div>

            </div>
    </div>
</block>
